package com.bd.scm.module.synchronousAccount.service.impl;

import com.bd.scm.dao.mapper.synchronousAccount.SynchronousAccountMapper;
import com.bd.scm.domain.models.synchronousAccount.SynchronousAccount;
import com.bd.scm.module.common.BaseServiceImpl;
import com.bd.scm.module.synchronousAccount.service.SynchronousAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/** 同步账号
 * Created with IntelliJ IDEA.
 * User: _Cps
 * Date: 2020.08.25 14:06
 */
@Service
public class SynchronousAccountServiceImpl extends BaseServiceImpl<SynchronousAccountMapper, SynchronousAccount> implements SynchronousAccountService {

    @Autowired
    private SynchronousAccountMapper synchronousAccountMapper;

    /**
     * 回收账号
     * @param currentPage
     * @return
     */
    @Override
    public List<String> getUserIdList(int currentPage) {
        return this.synchronousAccountMapper.getUserIdList(currentPage);
    }
}
